-- GENERATED SPELL FOR [Scalding Drake] --


function spell0_7045(pUnit, Event) --@Flame Breath,n/a--
pUnit:FullCastSpellOnTarget(9573,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7045', 2000, 1)
end

function Sorts_7045(pUnit, Event)
local choix_sorts_7045 = math.random(0, 0)
if choix_sorts_7045 == 0 then
pUnit:RegisterEvent('spell0_7045', 1, 1)
end
end

function mob7045_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7045', math.random(1500, 3000), 1)
end

function mob7045_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7045_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7045_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7045, 1, 'mob7045_Action')
RegisterUnitEvent(7045, 2, 'mob7045_Leave')
RegisterUnitEvent(7045, 3, 'mob7045_Kill')
RegisterUnitEvent(7045, 4, 'mob7045_Die')
